PerformanceDomain

class PerformanceDomain : Domain

PerformanceDomain represents Performance protocol domain request/response operations and events that can be captured.

Functions

description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disable collecting and reporting metrics.
enable
Link copied to clipboard
fun enable(input: EnableRequest): Single<RequestResponseFrame>
Enable collecting and reporting metrics.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
getMetrics
Link copied to clipboard
fun getMetrics(): Single<GetMetricsResponse>
Retrieve current values of run-time metrics.
metrics
Link copied to clipboard
fun metrics(): Flowable<MetricsEvent>
Current values of the metrics.
name
Link copied to clipboard
fun name(): String
Returns domain name.
setTimeDomain
Link copied to clipboard
fun setTimeDomain(input: SetTimeDomainRequest): Single<RequestResponseFrame>
Sets time domain to use for collecting and reporting duration metrics.

Sources

jvm source
Link copied to clipboard